package com.zzt.log.facade;

/**
 * Created with IntelliJ IDEA.
 * Description
 * User: panda
 * Date: 2025-02-25
 * Time: 13:38
 */
public class FacadeClient{
    private LivingRoomLight livingRoomLight = new LivingRoomLight();
    private BedRoomLight bedRoomLight = new BedRoomLight();
    private HallLight hallLight = new HallLight();

    public void on() {
        livingRoomLight.on();
        bedRoomLight.on();
        hallLight.on();
    }

    public void off() {
        livingRoomLight.off();
        bedRoomLight.off();
        hallLight.off();
    }
}
